Predicting software defects with causality tests

نویسندگان

  • Cesar Couto
  • Pedro Pires
  • Marco Tulio Valente
  • Roberto da Silva Bigonha
  • Nicolas Anquetil
چکیده

In this paper, we propose a defect prediction approach centered on more robust evidences towards causality between source code metrics (as predictors) and the occurrence of defects. More specifically, we rely on the Granger Causality Test to evaluate whether past variations in source code metrics values can be used to forecast changes in time series of defects. Our approach triggers alarms when changes made to the source code of a target system have a high chance of producing defects. We evaluated our approach in several life stages of four Java-based systems. We reached an average precision greater than 50% in three out of the four systems we evaluated. Moreover, by comparing our approach with baselines that are not based on causality tests, it achieved a better precision.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improved Software Project Risk Assessment Using Bayesian Nets

Empirical software engineering models typically focus on predicting development effort or software quality but not both. Using Bayesian Nets (BNs) as causal models, researchers have recently attempted to build models that incorporate relationships between functionality, effort, software quality, and various process variables. This thesis analyses such models and, as part of a new validation stu...

متن کامل

Predicting software defects in varying development lifecycles using Bayesian nets

An important decision in software projects is when to stop testing. Decision support tools for this have been built using causal models represented by Bayesian Networks (BNs), incorporating empirical data and expert judgement. Previously, this required a custom BN for each development lifecycle. We describe a more general approach that allows causal models to be applied to any lifecycle. The ap...

متن کامل

Stock Market Interactions between the BRICS and the United States: Evidence from Asymmetric Granger Causality Tests in the Frequency Domain

The interaction of BRICS stock markets with the United States is studied using an asymmetric Granger causality test based on the frequency domain. This type of analysis allows for both positive and negative shocks over different horizons. There is a clear bivariate causality that runs both ways between the United States stock market and the respective BRICS markets. In addition, both negative a...

متن کامل

Predicting Defect Types in Software Projects

Predicting software defects has been one of the most demanding tasks for software engineering researchers and practitioners. The work in this area resulted in producing various defect prediction models. Their common weakness is that they typically treat all defects equally. However, software companies need to categorize defects found in their products to estimate user satisfaction and to priori...

متن کامل

Using Bayesian Networks to Predict Software Defects and Reliability

This paper reviews the use of Bayesian Networks (BNs) in predicting software defects and software reliability. The approach allows us to incorporate causal process factors as well as combine qualitative and quantitative measures, hence overcoming some of the well-known limitations of traditional software metrics methods. The approach has been used by organisations such as Motorola, Siemens and ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Journal of Systems and Software

دوره 93  شماره 

صفحات  -

تاریخ انتشار 2014